import {
	request
} from "../api.js"

// 个人账户注册并绑定手机申请
export const payapplyRegisterMember = (data) => {
	return request("pay/applyRegisterMember", "POST", data)
}

// 个人账户注册并绑定手机确认
export const payconfirmRegisterMember = (data) => {
	return request("pay/confirmRegisterMember", "POST", data)
}

// 账号实名认证
export const payrealName = (data) => {
	return request("pay/realName", "POST", data)
}

// 请求绑定银行卡
export const payapplyBindBankCard = (data) => {
	return request("pay/applyBindBankCard", "POST", data)
}

// 绑定银行卡确认
export const paybindBankCard = (data) => {
	return request("pay/bindBankCard", "POST", data)
}

// 银行卡列表
export const paybankCardList = () => {
	return request("pay/bankCardList", "GET")
}

// 解绑银行卡
export const payunbindBankCard = (data) => {
	return request("pay/unbindBankCard", "POST", data)
}

// 设置支付密码
export const paysetPayPassword = (data) => {
	return request("pay/setPayPassword", "POST", data)
}

// 修改支付密码
export const paymodifyPayPassword = (data) => {
	return request("pay/modifyPayPassword", "POST", data)
}

// 支付账户开户
export const storeAccountOpen = (data) => {
	return request("store/account_open", "POST",data)
}

// 销售额 - 余额
export const storeSaleBalance = (data) => {
	return request("store/saleBalance", "GET",data)
}

// 余额提现
export const storeWithdrawApply = (data) => {
	return request("store/withdrawApply", "POST",data)
}

// 订单核销
export const storeselfTake = (data) => {
	return request("store/selfTake", "POST",data)
}

// 订单核销
export const storeWorkTime = (data) => {
	return request("store/workTime", "POST",data)
}

// 优惠劵列表
export const storeCoupon = (data) => {
	return request("store/coupon", "GET",data)
}


// 编辑或新增优惠劵
export const storeCouponSava = (data) => {
	return request("store/couponSava", "POST",data)
}


// 优惠劵删除
export const storeCouponDel = (data) => {
	return request("store/couponDel", "POST",data)
}

// 闪送起送价配置
export const storeStartPrice = (data) => {
	return request("store/startPrice", "POST",data)
}

// 闪送起送价配置
export const storeDeliveryPrice = (data) => {
	return request("store/deliveryPrice", "POST",data)
}





